package weeklyreport

class TaskTable {
	private String year
	private String month
	private int taskAmount
	private BigDecimal manDay
	private BigDecimal planningManDay
	
	public TaskTable(String year, String month) {
		this.year = year
		this.month = month
		taskAmount = 0
		manDay = new BigDecimal(0.0)
		planningManDay = new BigDecimal(0.0)
	}
	
	public void addTask() {
		taskAmount++
	}
	
	public void addManDay(BigDecimal manDay) {
		if(manDay)
			this.manDay += manDay
	}
	
	public void addPlanningManDay(BigDecimal planningManDay) {
		if(planningManDay)
			this.planningManDay += planningManDay
	}
}
